package com.shoppingmall.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private Integer user_id;
    private String  user_name;
    private String user_password;
    private String  user_email;
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private Date user_birthday;
    private Integer user_sex;
    private String  user_address;
    private Integer user_status;
}
